<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js" data-dpr="2">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <link rel="stylesheet" href="../../css/order-list.css">
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav"  onclick="history.go(-1)">
            取消
    </div>
    <div class="am-header-right am-header-nav">
        <a class="" id="saveSubmit">
            发送
        </a>
    </div>
</header>
<div class="am-content order-manage list">
    <div data-am-widget="tabs" class="am-tabs am-tabs-d2">
        <div class="am-list-news-bd">
            <ul class="am-list">
                <li class="am-g ">
                    <div class="item-list">
                        <div class="item-img">
                            <p>
                                <img src="<%=request.getParameter("img")%>"
                                     width="102" height="102" alt=""></p>
                        </div>
                        <div class="item-info">
                            <h3 class="title">
                                <%=request.getParameter("productName")%>
                            </h3>
                        </div>
                        <div class="item-pay">
                            <div class="item-pay-data">
                                <p class="price">￥<%=request.getParameter("price")%></p>
                                <p class="nums">x<%=request.getParameter("quantity")%></p>
                                <p class="date"><%=request.getParameter("createdate")%></p>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="am-g">
                    <div class="o-tab-btn">
                        <form id="commentArea" method="post" action="/order/doRate?orderid=<%=request.getParameter("orderId")%>">
                        <%--<img class="my-img am-comment-avatar" src="../../img/index1-2.png" alt=""/>--%>
                            <ul id="starList">
                                评价等级：
                                <span>⭐️</span>
                                <span>⭐️</span>
                                <span>⭐️</span>
                                <span>⭐️</span>
                                <span>⭐️</span>
                            </ul>
                            <input type="hidden" id="starNum" name="star_<%=request.getParameter("productID")%>" value="0">
                        <div class="img-comment-textarea">
                            <textarea id="content" name="product_<%=request.getParameter("productID")%>" class="textarea" rows="5" placeholder="想说点什么..." id="doc-ta-1"></textarea>
                            <%--<button type="button" class="am-btn am-btn-secondary" onclick="comment()">提交</button>--%>
                        </div>
                        </form>
                    </div>
                </li>
            </ul>
        </div>

    </div>
</div>

<div class="am-list-news-ft" style="display:none" id="more">
    <a class="am-list-news-more am-btn am-btn-default" id="pageNo" data="1">查看更多 &raquo;</a>
</div>
<%@ include file="./../common/footerNav.jsp" %>
<%@ include file="./../common/footer.jsp" %>
<script src="../../js/settings/order-comment.js"></script>

</body>
</html>